﻿<!DOCTYPE HTML>
<html>

<head>
    <!--#header start-->
    {include file="public/_meta" /}
    <!--#header end-->

    <title>我的桌面</title>
</head>

<body>
    <div class="page-container">
        <p class="f-20 text-success">欢迎使用 <span class="label label-success f-20">中欧</span> <span class="f-14 badge badge-primary radius">v1.0</span>后台管理系统！</p>
        <p>登录次数：{$login_count ?? '0'} </p>
        {if condition="session('last_login_time')"}

        <p>上次登录IP：{$last_login_ip ?? '第一次登录'} &nbsp;&nbsp;&nbsp; 上次登录时间：{$last_login_time|date='Y-m-d H:i:s',###} &nbsp;&nbsp;&nbsp; 上次登录地点：{$last_login_loc}</p>

        {/if}
        <p>本次登录IP：{$current_login_ip ?? '未检测到地址'} &nbsp;&nbsp;&nbsp; 本次登录时间：{$now_time|date='Y-m-d H:i:s',###} &nbsp;&nbsp;&nbsp; 本次登录地点：{$current_login_loc ?? '未知'}</p>
        <table class="table table-border table-bordered table-bg">
            <thead>
                <tr>
                    <th colspan="7" scope="col">信息统计</th>
                </tr>
                <tr class="text-c">
                    <th>统计</th>
                    <th>新增主播数量</th>
                    <th>新增用户数量</th>
                    <th>新增礼物数量</th>
                    <th>财务</th>
                    <th>侵权举报</th>
                </tr>
            </thead>
            <tbody>
                <tr class="text-c">
                    <td>总数</td>
                    <td><span class="label label-success radius">92</span></td>
                    <td>9</td>
                    <td><span class="label label-secondary radius">20</span></td>
                    <td>8</td>
                    <td><span class="label label-primary radius">20</span></td>
                </tr>
                <tr class="text-c">
                    <td>今日</td>
                    <td><span class="label label-success radius">92</span></td>
                    <td>9</td>
                    <td><span class="label label-secondary radius">20</span></td>
                    <td>8</td>
                    <td><span class="label label-primary radius">20</span></td>
                </tr>
                <tr class="text-c">
                    <td>昨日</td>
                    <td><span class="label label-success radius">92</span></td>
                    <td>9</td>
                    <td><span class="label label-secondary radius">20</span></td>
                    <td>8</td>
                    <td><span class="label label-primary radius">20</span></td>
                </tr>
                <tr class="text-c">
                    <td>本周</td>
                    <td><span class="label label-success radius">92</span></td>
                    <td>9</td>
                    <td><span class="label label-secondary radius">20</span></td>
                    <td>8</td>
                    <td><span class="label label-primary radius">20</span></td>
                </tr>
                <tr class="text-c">
                    <td>本月</td>
                    <td><span class="label label-success radius">92</span></td>
                    <td>9</td>
                    <td><span class="label label-secondary radius">20</span></td>
                    <td>8</td>
                    <td><span class="label label-primary radius">20</span></td>
                </tr>
            </tbody>
        </table>
        <table class="table table-border table-bordered table-bg mt-20">
            <thead>
                <tr>
                    <th colspan="2" scope="col">服务器信息</th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <th width="30%">服务器计算机名</th>
                    <td><span id="lbServerName">{:php_uname()}</span></td>
                </tr>
                <tr>
                    <td>服务器IP地址</td>
                    <td>{:GetHostByName($_SERVER['SERVER_NAME'])}</td>
                </tr>
                <tr>
                    <td>服务器域名</td>
                    <td>www.h-ui.net</td>
                </tr>
                <tr>
                    <td>服务器端口 </td>
                    <td>{$_SERVER['SERVER_PORT']}</td>
                </tr>
                <tr>
                    <td>服务器PHP </td>
                    <td>{:php_sapi_name()}</td>
                </tr>
                <tr>
                    <td>本文件所在文件夹 </td>
                    <td>
                        <?php echo __FILE__;?>
                    </td>
                </tr>
                <tr>
                    <td>服务器操作系统 </td>
                    <td>Microsoft Windows NT 5.2.3790 Service Pack 2</td>
                </tr>
                <tr>
                    <td>系统WEB服务器 </td>
                    <td>{:$_SERVER["SERVER_SOFTWARE"]}</td>
                </tr>
                <tr>
                    <td>服务器脚本超时时间 </td>
                    <td>30000秒</td>
                </tr>
                <tr>
                    <td>服务器的语言种类 </td>
                    <td>{$_SERVER['HTTP_ACCEPT_LANGUAGE']}</td>
                </tr>
                <tr>
                    <td>thinkphp Framework 版本 </td>
                    <td>
                        <?php echo THINK_VERSION; ?>-
                        <?php echo PHP_VERSION;?>
                    </td>
                </tr>
                <tr>
                    <td>服务器当前时间 </td>
                    <td>{:date('Y-m-d H:i:s')}</td>
                </tr>
                <tr>
                    <td>开始运行时间 </td>
                    <td>{:date('Y-m-d H:i:s',THINK_START_MEM)}</td>
                </tr>
                <tr>
                    <td>服务器内存占用 </td>
                    <td>
                        <?php echo THINK_START_TIME; ?>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    <footer class="footer mt-20">
        <div class="container">
            <p>使用开源技术：Thinkphp、H-ui前端框架、jQuery、layer、laypage、Validform、UEditor、My97DatePicker、iconfont、Datatables、WebUploaded、icheck、highcharts、bootstrap-Switch<br> Copyright &copy;2017 吴家奕@小白工作室 All Rights Reserved.<br> 本后台系统由
                <a href="javascript:;" target="_blank" title="@小白工作室">@小白工作室</a>提供技术支持</p>
        </div>
    </footer>
    <script type="text/javascript" src="__ADMIN__/static/h-ui/js/H-ui.min.js"></script>
    <script type="text/javascript" src="__ADMIN__/lib/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="__ADMIN__/lib/jquery.scrollto/jquery.nicescroll.js"></script>
    <script type="text/javascript">
        $("html").niceScroll({
            cursorcolor: "#009688",
            cursoropacitymax: 1,
            touchbehavior: false,
            cursorwidth: "5px",
            cursorborder: "0",
            cursorborderradius: "5px"
        })
    </script>

</body>

</html>